/**
 * output package name
 */
package com.kingdee.eas.jky.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class StateEnum extends StringEnum
{
    public static final String ADDNEWS_VALUE = "1";
    public static final String SAVES_VALUE = "2";
    public static final String SUBMITS_VALUE = "3";
    public static final String AUDIT_VALUE = "4";
    public static final String UNAUDIT_VALUE = "5";

    public static final StateEnum addnews = new StateEnum("addnews", ADDNEWS_VALUE);
    public static final StateEnum saves = new StateEnum("saves", SAVES_VALUE);
    public static final StateEnum submits = new StateEnum("submits", SUBMITS_VALUE);
    public static final StateEnum audit = new StateEnum("audit", AUDIT_VALUE);
    public static final StateEnum unaudit = new StateEnum("unaudit", UNAUDIT_VALUE);

    /**
     * construct function
     * @param String stateEnum
     */
    private StateEnum(String name, String stateEnum)
    {
        super(name, stateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static StateEnum getEnum(String stateEnum)
    {
        return (StateEnum)getEnum(StateEnum.class, stateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(StateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(StateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(StateEnum.class);
    }
}